package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> findAll();
    Dept findById(String id);
    int delete(String id);
    int save(Dept dept);
    int update(Dept dept);
    PageInfo findAll(int currentPage, int PageSize);
}
